package com.ggb.reactive.domain.dto

import io.swagger.v3.oas.annotations.media.Schema
import lombok.Data

@Data
@Schema(title="分类分页查询 CategoryPageQueryDTO")
data class CategoryPageQueryDTO(
    //类型: 1菜品分类 2套餐分类
    @Schema(description = "类型: 1菜品分类 2套餐分类")
    var type:Int?=null,
    //分类名称
    @Schema(description = "分类名称")
    var name:String?=null,
    @Schema(description = "页码")
    val page: Int = 1,
    @Schema(description = "页数")
    val pageSize: Int = 10
)
